<project xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<artifactId>tests_configuration</artifactId>
	<packaging>pom</packaging>
	<name>ElWiki tests configuration definition</name>
	<description>ElWiki tests configuration definition</description>

	<parent>
		<groupId>org.elwiki</groupId>
		<artifactId>global_configuration</artifactId>
		<version>0.0.1-SNAPSHOT</version>
		<relativePath>../global_configuration</relativePath>
	</parent>

	<!-- org.eclipse.osgi_3.12.50.v20170928-1321.jar -->

	<!-- :FVK: - зачем эта зависимость может быть нужна?
		<dependencies>
		<dependency>
		<groupId>org.testng</groupId>
		<artifactId>testng</artifactId>
		<version>5.8</version>
		<scope>test</scope>
		<classifier>jdk15</classifier>
		</dependency>
		</dependencies>
	-->

	<build>
		<plugins>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>target-platform-configuration</artifactId>
				<configuration>
					<!--
						<target>
						<artifact>
						<groupId>org.elwiki</groupId>
						<artifactId>org.elwiki.tests.targetplatform</artifactId>
						<version>0.0.1-SNAPSHOT</version>
						</artifact>
						</target>
					-->
					<dependency-resolution>
						<extraRequirements>
							<!-- product IU under test -->
							<requirement>
								<type>p2-installable-unit</type>
								<id>org.elwiki.product</id>
								<versionRange>0.0.0</versionRange>
							</requirement>
								<requirement>
								<type>eclipse-plugin</type>
								<id>org.elwiki.test.storage</id>
								<versionRange>0.0.1</versionRange>
								</requirement>
<!--
								<requirement>
								<type>eclipse-plugin</type>
								<id>org.elwiki.rendering.tests</id>
								<versionRange>0.0.1</versionRange>
								</requirement>
-->
							<!--
								<requirement>
								<type>eclipse-feature</type>
								<id>org.elwiki.test.feature</id>
								<versionRange>0.0.1</versionRange>
								</requirement>
							-->
						</extraRequirements>
					</dependency-resolution>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-surefire-plugin</artifactId>
				<version>${tycho.version}</version>
				<configuration>
					<useUIHarness>false</useUIHarness>
					<argLine>-Dorg.osgi.service.http.port=11042</argLine>
<!--
<argLine>-Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=y</argLine>
-->
					<showEclipseLog>true</showEclipseLog>
					<bundleStartLevel>
						<bundle>
							<id>org.apache.felix.scr</id>
							<level>1</level>
							<autoStart>true</autoStart>
						</bundle>
						<bundle>
							<id>org.eclipse.equinox.ds</id>
							<level>5</level>
							<autoStart>false</autoStart>
						</bundle>
						<bundle>
							<id>org.eclipse.equinox.http.jetty</id>
							<level>2</level>
							<autoStart>true</autoStart>
						</bundle>
						<!-- Start bundles that contribute ElWiki -->
						<bundle>
							<id>org.elwiki.app</id>
							<level>4</level>
							<autoStart>true</autoStart>
						</bundle>
						<bundle>
							<id>org.elwiki.test.storage</id>
							<level>4</level>
							<autoStart>true</autoStart>
						</bundle>
<!-- Add start -->
				<bundle>
					<id>com.google.gson</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>com.mysql.jdbc</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>javax.xml</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>javax.activation</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>javax.mail</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>javax.servlet</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.apache.commons.codec</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.apache.commons.fileupload</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.apache.commons.io</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.osgi.services</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.osgi.util</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.expressions</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>com.ibm.icu.base</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.commands</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.databinding</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.databinding.observable</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.databinding.property</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.databinding.beans</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.emf.ecore.change</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.emf.cdo.edit</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.emf.ecore.edit</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.emf.databinding</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.emf.emfstore.common</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.emf.rap.common.ui</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.ui</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.emf.rap.edit.ui</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.ui.views</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.cm</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.http</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.server</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.servlet</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.util</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.http.registry</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.http.servletbridge</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.servletbridge</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.launcher</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.help</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jdt.junit.runtime</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.junit</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.continuation</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.io</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.security</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.h2</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>javax.servlet.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.help.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>com.ibm.icu.base.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.commands.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.expressions.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.contenttype.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.jobs.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.runtime.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.databinding.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.databinding.beans.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.databinding.observable.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.core.databinding.property.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.app.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.cm.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.common.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.event.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.preferences.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.registry.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.http.jetty.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.http.registry.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.http.servlet.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.equinox.console.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.apache.felix.gogo.command.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.apache.felix.gogo.runtime.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.apache.felix.gogo.shell.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.apache.felix.scr.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jdt.junit.runtime.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.osgi.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.osgi.services.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.osgi.util.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.junit.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.continuation.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.http.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.io.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.security.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.server.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.servlet.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.jetty.util.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.hamcrest.core</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.hamcrest.core.source</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.fileupload</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.nebula.widgets.grid</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.nebula.jface.gridviewer</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.rwt</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.ui.cheatsheets</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.filedialog</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.nebula.widgets.richtext</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.ui.forms</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.rwt.osgi</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.jface.databinding</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.eclipse.rap.rwt.testfixture</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.apache.commons.lang3</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.apache.log4j</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.apache.oro</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.elwiki.libs</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.elwiki.core.plugins</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.elwiki.data.edit</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.elwiki.data.editor</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.elwiki.editor</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.elwiki.resources</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.elwiki.ui.themes</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.elwiki.pageprovider</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.slf4j.api</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.elwiki.searchprovider</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.elwiki.ui.app</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.elwiki.ui.app.admin</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>
				<bundle>
					<id>org.elwiki.tests</id>
					<level>4</level>
					<autoStart>true</autoStart>
				</bundle>

					</bundleStartLevel>
					<dependencies>
						<!--
							<dependency>
							<type>eclipse-feature</type>
							<artifactId>org.elwiki.feature/</artifactId>
							This is the minimum required version
							<version>0.0.1</version>
							</dependency>
						-->
						<!--
							<dependency>
							<type>p2-installable-unit</type>
							<artifactId>org.eclipse.equinox.ds</artifactId>
							<version>1.5.0</version>
							</dependency>
							<dependency>
							<type>eclipse-feature</type>
							<artifactId>org.eclipse.equinox.server.jetty</artifactId>
							<version>1.4.0</version>
							</dependency>
						-->
					</dependencies>
				</configuration>
			</plugin>
		</plugins>
	</build>

</project>
